Auto merge of #4155 - ketralnis:fossil, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 14 Jun 2017 03:33:46 +0000 (03:33 +0000)
committerbors <bors@rust-lang.org>
Wed, 14 Jun 2017 03:33:46 +0000 (03:33 +0000)
commite934177fca2cbe20fed853328c36c9d8d11d477c
treefd7af0dbd4470de19415dbba34326923e65a1086
parent46252c6476a80a36e1a66fa0f38d3a5996fdc026
parent7eca7f271d10eb78e1118d710e9e954a1c526bc4
Auto merge of #4155 - ketralnis:fossil, r=alexcrichton

Add fossil VCS support to `cargo new`

Fossil is a simple, high-reliability, distributed software configuration management system <https://www.fossil-scm.org/>

I mostly followed https://github.com/rust-lang/cargo/pull/3842 as a template. Like that one, this only adds support for `cargo new`, not for pulling down fossil-hosted dependencies

A problem that i didn't tackle but I'd be willing to is a little more more `trait`ifying of the VCSs. I would need some guidance on that since it looks like git has some more thorough support than e.g. hg does but it looks pretty doable
src/bin/new.rs
src/cargo/ops/cargo_new.rs